﻿using mscook.core.domain;
using System;
using System.Collections.Generic;
namespace mscook.core.services
{
    public interface IHotelService
    {
        void SaveOrUpdate(Hotel Hotel);
        Hotel Get(string id);
        IList<Hotel> SelectPageList(int start, int limit, out long total);
        bool Delete(string id);
        IList<Hotel> SelectAll();
        IList<Hotel> SelectLimitbyIds(IList<string> resourceIds, int start, int limit, out long total);
        IList<Hotel> GetLimitPartner(int start, int limit);
        IList<Hotel> SelectPageList(int start, int limit, out long total, string hotelName);
        IList<Hotel> SelectPageListByExpressions(int start, int limit, out long total, System.Linq.Expressions.Expression<Func<Hotel, bool>> expression);
        IList<Hotel> SelectBottomHotelList(int size);
    }
}
